﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" Inherits="Nivdal.WriteForumPost" Title=" "
    StylesheetTheme="SkinFile" Codebehind="WriteForumPost.aspx.cs" %>
    

<%@ Register Assembly="obout_Flyout2_NET" Namespace="OboutInc.Flyout2" TagPrefix="cc1" %>

<asp:Content ID="PageNameContent" ContentPlaceHolderID="PageNamePlaceHolder" runat="server">
    <asp:Label ID="PageNameLabel" runat="server" Text="<%$ Resources:Resource, WriteForumPost_PageNameLabel %>" CssClass="PageNameContentStyle"></asp:Label>
</asp:Content>    
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <asp:HiddenField ID="ThreadIdHiddenField" runat="server" />
    <asp:HiddenField ID="ReplyToPostHiddenField" runat="server" />
    <asp:HiddenField ID="ReplyToUserHiddenField" runat="server" />
    <div class="basic_element">
    <div class="red_title">
       <asp:Label ID="Label1" runat="server" Text="<%$ Resources:Resource, WriteForumPost_PageNameLabel %>" CssClass="white_title"></asp:Label>
    </div>
    <div class="padding5">
        <asp:Label ID="MessageLabel" runat="server" Text=""></asp:Label>
        <br />
        <asp:Label ID="ReplyToLabel" runat="server" Visible="false" Text="<%$ Resources:Resource, WriteForumPost_ReplyToLabel %>" SkinID="InfoLabel"></asp:Label>
        <asp:HyperLink ID="AsReplyToHyperLink" runat="server" Visible="false" SkinID="GreenTitleHyperLink"></asp:HyperLink>
        <br />
        <br />
        <div style="width:580px; overflow:auto;">
            <asp:Label ID="OriginalMessageLabel" runat="server"  Visible="false" Text="" SkinID="GridLabel"></asp:Label>
        </div>
        <br />
        <asp:UpdatePanel ID="updatePanel1" runat="server" UpdateMode="Conditional">
            <ContentTemplate>
             <CustomControls:TextArea ID="Threadeditor" runat="server" MaxLength="3500" TextMode="MultiLine" 
              Rows="3" Height="150px" Width="500"></CustomControls:TextArea> 
             <%--<asp:Image ID="HelpImage" runat="server" ImageUrl="~/Images/question.gif" AlternateText="help" />
            <cc1:Flyout ID="Help" runat="server" NoneEffect="true" AttachTo="HelpImage">
                <div class="ToolTipStyle">
                    <asp:Label ID="TextHelpLabel" runat="server"></asp:Label>
                </div>
            </cc1:Flyout>--%>
            <br />
        <asp:Label ID="PreviewLabel" runat="server" CssClass="HtmlPreview" Text=""></asp:Label>
            </ContentTemplate>
        </asp:UpdatePanel>
        <br />
        <div style="width:500px; text-align:center;">
        <asp:Button runat="server" Text="<%$ Resources:Resource, WriteForumPost_AddThreadButton %>" ID="AddThread" onclick="AddThread_Click" CssClass="GreenButtonTextStyle" />
             &nbsp;&nbsp;&nbsp;
             <asp:Button ID="Button2" onclick="Button2_Click" runat="server" Text="<%$ Resources:Resource, Global_Preview %>"  CssClass="GreySmallButtonStyle" />
        </div>
    </div>
    </div>
</asp:Content>
